import request from './request'

export const getmessagelists = (params) => {
  return request({
    url: '/api/admin/messages',
    method: 'GET',
    params
  })
}

// 消息发送
export const addmessage = (data) => {
  return request({
    url: '/api/admin/message',
    method: 'POST',
    data
  })
}
